Hi All,
First I would like to explain that the timezone on PagerDuty UI is set to UTC+2 (Cairo) for all the Schedules and for the users.
When I try the override API here: https://developer.pagerduty.com/api-reference/reference/REST/openapiv3.json/paths/~1schedules~1{id}~1overrides/post
or call my API from an external application (exactly the same behavior happens) with TZ Africa/Cairo.
The current schedule I have from the GUI is: From: Jun 19 at 14:00 To: Jun 20 at 04:00
The post override is:
POST override:
“start”: “2021-06-19T00:00:00-14:00”,
“end”: “2021-06-20T00:00:00-04:00”,
The response is:
Response:
“start”: “2021-06-19T14:00:00Z”,
“end”: “2021-06-20T04:00:00Z”,
Which from above seems correct, but when I check the GUI, the override is the below which is incorrect:
Jun 19 at 16:00 - Jun 20 at 06:00
So I am not sure what I am doing wrong here if someone can help!
Thank you!